package com.xianggg.xservers.weixin.sdk.vo;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.xianggg.xservers.weixin.sdk.type.MsgType;
import com.xianggg.xservers.weixin.sdk.type.XStreamCDATA;

@XStreamAlias("xml")
public class OutputTextMsg extends OutputBaseMsg {

    @XStreamAlias("Content")
    @XStreamCDATA
    private String content;

    public OutputTextMsg(String toUserName, String fromUserName) {
        super(toUserName, fromUserName, MsgType.text);
    }

    public OutputTextMsg(InputMsg inputMsg) {
        super(inputMsg,MsgType.text);
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
